package com.example.aacwebdemo.trash;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.example.startdemo.service.HelloService;

/**
 * @author zhao.xin06679
 * @date 2021年06月28日 16:40
 */
@RestController
@RequestMapping("a")
public class Controller {

    @Autowired
    private HelloService holloService;

    @RequestMapping("/")
    public String index(){
        return holloService.sayHello();
    }

}
